package cn.beatuty.makeup.module.system.controller.admin.orders.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrdersRespVO {

    private String productImage;

    @Schema(description = "订单的唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "14409")
    @ExcelProperty("订单的唯一标识")
    private Long id;

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单编号")
    private String orderNumber;

    @Schema(description = "食品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("食品名称")
    private String productName;

    @Schema(description = "食品规格")
    @ExcelProperty("食品规格")
    private String productSpecification;

    @Schema(description = "食品数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("食品数量")
    private Integer quantity;

    @Schema(description = "付款价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "136")
    @ExcelProperty("付款价格")
    private BigDecimal price;

    @Schema(description = "订单状态，例如：待支付、已支付、已取消", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("订单状态，例如：待支付、已支付、已取消")
    private String orderStatus;

    @Schema(description = "购物车id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30131")
    @ExcelProperty("购物车id")
    private Long cartId;

    @Schema(description = "食品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19845")
    @ExcelProperty("食品id")
    private Long productId;

    private String cartCode;

    private String productCartCode;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}